package org.dromara.admin.domain.vo;

import org.dromara.admin.domain.Address;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 地址视图对象 bi_address
 *
 * @author Lion Li
 * @date 2025-10-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Address.class)
public class AddressVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 地址唯一ID
     */
    @ExcelProperty(value = "地址唯一ID")
    private Long id;

    /**
     * 关联员工ID（bi_employee.id）
     */
    @ExcelProperty(value = "关联员工ID", converter = ExcelDictConvert.class)
    private Long employeeId;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String name;

    /**
     * 序号
     */
    @ExcelProperty(value = "序号")
    private Long sort;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号")
    private String phone;

    /**
     * 省
     */
    @ExcelProperty(value = "省")
    private String province;

    /**
     * 市
     */
    @ExcelProperty(value = "市")
    private String city;

    /**
     * 区
     */
    @ExcelProperty(value = "区")
    private String area;

    /**
     * 详细地址
     */
    @ExcelProperty(value = "详细地址")
    private String address;


}
